package com.gdut.huayan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gdut.huayan.entity.dto.PageQuery;
import com.gdut.huayan.entity.po.Refund;
import com.gdut.huayan.entity.vo.RefundContentVo;
import com.gdut.huayan.entity.vo.RefundDetailVo;
import com.gdut.huayan.entity.vo.RefundVo;
import com.github.pagehelper.PageInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface RefundService extends IService<Refund> {
    PageInfo<RefundContentVo> getAll(PageQuery pageQuery, Integer status);

    List<Refund> getByUser(Integer status);

    void callBack(HttpServletRequest httpServletRequest);

    void submitRefund(RefundVo refundVo);

    void checkRefund(RefundVo refundVo);

    List<RefundDetailVo> getRefundDetail(Long refundId,Long orderId);
}
